
void CSN_HIGH (void);
void CSN_LOW (void);
void CE_HIGH(void);
void CE_LOW(void);
void SPI0Init(void);
unsigned char SPI_SendByte(unsigned char data);
unsigned char SPI_Send_read_command_with_ADDR (unsigned char cmd, unsigned char addr, int n_data_byte, unsigned char data[]);
unsigned char SPI_Send_write_command_with_ADDR (unsigned char cmd, unsigned char addr, int n_data_byte, unsigned char data[]);
unsigned char SPI_Send_read_command_without_ADDR (unsigned char cmd, int n_data_byte, unsigned char data[]);
unsigned char SPI_Send_write_command_without_ADDR (unsigned char cmd, int n_data_byte, unsigned char data[]);
unsigned char SPI_Send_command_without_ADDR (unsigned char cmd);
void reset_nRF24L01_STATUS(void);
void reset_nRF24L01_STATUS_with_INT(void);
// Setting for nRF chip
void nRFSetting(void);

